﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Cofe.Core;

namespace Cofe.Web.Interfaces
{
    /// <summary>
    /// Format the content of an incoming http request (json, or perhaps xml) to an object.
    /// </summary>
    public interface IHttpRequestMessageFormatter : ICofeService
    {
        bool CanCreateRequestObject(HttpRequestMessage request, Type outputType, ParameterDic parameters);
        object CreateRequestObject(HttpRequestMessage request, Type outputType, ParameterDic parameters);
    }
}
